Impact of the Sakoe-Chiba Band on the DTW Time Series Distance Measure for kNN Classification
نویسندگان
چکیده
For classification of time series, the simple 1-nearest neighbor (1NN) classifier in combination with an elastic distance measure such as Dynamic Time Warping (DTW) distance is considered superior in terms of classification accuracy to many other more elaborate methods, including k-nearest neighbor (kNN) with neighborhood size k > 1. In this paper we revisit this apparently peculiar relationship and investigate the differences between 1NN and kNN classifiers in the context of time-series data and constrained DTW distance. By varying neighborhood size k, constraint width r, and evaluating 1NN and kNN with and without distance-based weighting in different schemes of cross-validation, we show that the first nearest neighbor indeed has special significance in labeled time-series data, but also that weighting can drastically improve the accuracy of kNN. This improvement is manifested by better accuracy of weighted kNN than 1NN for small values of k (3–4), better accuracy of weighted kNN than unweighted kNN in general, and reduced need to use large values of constraint r with weighted kNN.
منابع مشابه
Learning DTW Global Constraint for Time Series Classification
1-Nearest Neighbor with the Dynamic TimeWarping (DTW) distance is one of the most effective classifiers on time series domain. Since the global constraint has been introduced in speech community, many global constraint models have been proposed including Sakoe-Chiba (S-C) band, Itakura Parallelogram, and Ratanamahatana-Keogh (R-K) band. The R-K band is a general global constraint model that can...
متن کاملSparsification of the Alignment Path Search Space in Dynamic Time Warping
Temporal data are naturally everywhere, especially in the digital era that sees the advent of big data and internet of things. One major challenge that arises during temporal data analysis and mining is the comparison of time series or sequences, which requires to determine a proper distance or (dis)similarity measure. In this context, the Dynamic Time Warping (DTW) has enjoyed success in many ...
متن کاملAn Evaluation of DTW Approaches for Whole-of-Body Gesture Recognition
This paper systematically explores the capabilities of different forms of Dynamic Time Warping (DTW) algorithms and their parameter configurations in recognising whole-of-body gestures. The standard DTW (SDTW) (Sakoe and Chiba 1978), globally feature weighted DTW (Reyes et al. 2011) and locally feature weighted DTW (Arici et al. 2013) algorithms are particularly considered, while an enhanced ve...
متن کاملIntegrating Time Alignment and Self-Organizing Maps
Clustering time series has become in recent years a topic of great interest in a wide range of fields. The several approaches differ mainly in their notion of similarity (for a review see Focardi, 2001). Most researches use the Euclidean distance or some variation of it because of its easy implementation, even if it is very sensitive to temporal axis alignment. Furthermore, there are many appli...
متن کاملThe Influence of Global Constraints on Similarity Measures for Time-Series Databases
A time series consists of a series of values or events obtained over repeated measurements in time. Analysis of time series represents an important tool in many application areas, such as stock-market analysis, process and quality control, observation of natural phenomena, medical diagnosis, etc. A vital component in many types of time-series analyses is the choice of an appropriate distance/si...
متن کامل